package com.crm.model.vo.customerManager;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.metadata.BaseRowModel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 客户充值导出实体类
 * @author yuanyunfeng
 * @date 2021/8/26 15:40
 */
@Data
public class CustomerPayExport extends BaseRowModel {

    //客户名称
    @ExcelProperty(value = "客户名称")
    private String customerName;
    //充值金额
    @ExcelProperty(value = "充值金额")
    private BigDecimal payMoney;
    //充值码
    @ExcelProperty(value = "充值码")
    private String payNumber;
    //充值类型
    @ExcelProperty(value = "充值类型")
    private String payTypeName;
    //充值状态
    @ExcelProperty(value = "充值状态")
    private String payStatusName;
    //到款日期
    @ExcelProperty(value = "到款日期")
//    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    @DateTimeFormat("yyyy-MM-dd")
    private String paymentDate;
    //申请人
    @ExcelProperty(value = "申请人")
    private String createPeopleName;
    //创建人时间
    @ExcelProperty(value = "申请时间")
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date createTm;
    //财务名称
    @ExcelProperty(value = "审批人")
    private String financeName;

}
